import { createStore, applyMiddleware } from "redux";
import reducer from "./reducer";
// thunk是一个中间件,用于发送异步请求
import thunk from "redux-thunk";
export default createStore(reducer, applyMiddleware(thunk));
